package com.wetao.lib_common.common.contract;



import com.wetao.lib_common.base.BasePresenter;
import com.wetao.lib_common.base.BaseViewImp;
import com.wetao.lib_common.bean.response.LoginInfo;

import java.util.HashMap;

/**
 * LoginContract
 */
public interface RegisterContract {

    //方法命名以 请求方法+Result  命名
    interface View extends BaseViewImp {
        void getRegisterResult(LoginInfo data);
    }

    //方法命名以 get+方法  命名
    abstract class Presenter extends BasePresenter<View> {

        public abstract void getRegister(HashMap<String, String> map, boolean isDialog, boolean cancelable);

    }
}
